Masteriyo\Exporter\CourseExporter B

Total Complexity 80
Dependencies 13
Dependents 3
Total lines 719
Lines of code 385
Logical lines of code 205
Comment lines 216
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
get_posts_data()
A
48 11 34
get_terms()
A
46 10 39
export()
A
45 7 40
get_post_attachments()
S
52 6 26
get_download_url()
S
57 5 17
compress()
S
49 4 30
get_full_file_path()
S
58 5 14
cleanup_old_files()
S
62 4 11
write_posts_to_json()
S
51 3 26
get_post_terms()
S
56 3 20
get_post_types()
S
58 3 17
fetch_post_data()
S
61 3 12
append()
S
63 3 11
prepare_query_args()
S
56 2 19
create_export_file()
S
56 2 18
end_post_type_section()
S
74 2 4
get_post_type_label()
S
62 1 11
get_all_course_ids()
S
65 1 9
get_file_path()
S
71 1 5
get_file_creation_time()
S
75 1 4
get_post_type_data()
S
74 1 4
schedule_tasks()
S
67 1 7
get_export_meta_data()
S
69 1 7